From 418526e7b3502b4b10505e05e08ea48a89766160 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Fri, 29 Jun 2007 20:55:25 +0000 Subject: [PATCH] xmlgeneric: Fix order of 'str_match' parameters. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2843 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/xmlgeneric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/xmlgeneric.c b/gpsbabel/xmlgeneric.c index 74ea8f192..d83faceb2 100644 --- a/gpsbabel/xmlgeneric.c +++ b/gpsbabel/xmlgeneric.c @@ -160,7 +160,7 @@ xml_tbl_lookup(const char *tag, xg_cb_type cb_type) { xg_tag_mapping *tm; for (tm = xg_tag_tbl; tm->tag_cb != NULL; tm++) { - if (str_match(tm->tag_name, tag) && (cb_type == tm->cb_type)) { + if (str_match(tag, tm->tag_name) && (cb_type == tm->cb_type)) { return tm->tag_cb; } } -- 2.30.2